import { tableServiceInterface } from "@/common/interface/table.interface";
import {
  $panelApkList,
  $panelApkDetail,
  $panelApkAdd,
  $panelApkEdit,
  $panelApkDelete
} from "@/apis/panelApk/panelApk";
import {
  panelApkListInterface,
  panelApkAddInterface,
  panelApkEditInterface
} from "@/apis/panelApk/panelApk.interface";
export default class MusicPanelApkService implements tableServiceInterface {
  async getTable(e: panelApkListInterface): Promise<any> {
    return $panelApkList(e);
  }
  deleteMultiple(e: Array<number>): Promise<any> {
    return $panelApkDelete(e);
  }
  edit(e: panelApkEditInterface): Promise<any> {
    return $panelApkEdit(e);
  }
  add(e: panelApkAddInterface): Promise<any> {
    return $panelApkAdd(e);
  }
  detail(id: number): Promise<any> {
    return $panelApkDetail(id);
  }
}